<template>
  <div class="good-liat banxin flex">
    <GoodListltem
      v-for="item in arr"
      :key="item.id"
      :data="item"
    ></GoodListltem>
  </div>
</template>

<script>
import GoodListltem from "./GoodListltem.vue";
export default {
  props: ["arr"],
  data() {
    return {};
  },
  components: {
    GoodListltem,
  },
};
</script>

<style lang="less" scoped>
.good-liat {
  align-items: center;
  flex-wrap: wrap;
  .good-list-item {
    &:nth-child(4n) {
      margin-right: 0;
    }
  }
}
</style>